import os

'''
21点04分
运行代码前确保你已经有虚拟环境
执行此命令创建虚拟环境:python -m venv venv
'''
os.system(r".\venv\Scripts\activate")
os.system(
    r"python -m pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple")
os.system(r"pip install -i https://pypi.tuna.tsinghua.edu.cn/simple django pillow==9.0.1 django-crispy-forms==1.14.0 django-filter==21.1 coreapi==2.3.3 djangorestframework==3.13.1 drf-extensions==0.7.1 django-cors-headers gunicorn")
os.system("pip list")
